//
//  ConstAPIURL.swift
//  DHSWallet
//
//  Created by zhengyi on 2017/8/16.
//  Copyright © 2017年 zhengyi. All rights reserved.
//

import UIKit

struct ConstAPI {
    
    //192.168.10.184:8080
    static let kAPIBaseURL: String = "http://103.105.56.104:8080/"
//    static let kAPIBaseURL: String = "http://192.168.50.163:8080/"

//    static let kAPIBaseURL: String = "http://114.141.173.61:8080/"
//    static let kAPIBaseURL: String = "http://10.0.0.46:8080/"

    static let kAPIH5BaseURL: String = "http://47.92.122.8:9009"

    
    static let kAPILogin = kAPIBaseURL + "login" //登录接口
    static let kAPIQuitLogin = kAPIBaseURL + "logout"
    static let kAPIHasSetTradePwd = kAPIBaseURL + "isSetTradePassword"
    static let kAPIUpdataUserInfo = kAPIBaseURL + "updateUserInfo"
    static let kAPIUpdataUserPhoto = kAPIBaseURL + "updateUserPhoto"


    static let kAPIRegister = kAPIBaseURL + "register"   //注册接口
    static let kAPIGetAuthorCode = kAPIBaseURL + "sendSmsCode" //获取短信验证码
    static let kAPIModifyLoginPwd = kAPIBaseURL + "editPassword" //修改登录密码接口
    static let kAPIForgetLoginPwd = kAPIBaseURL + "forgetPassword" //忘记登录密码接口
    static let kAPIModifyTradePwd = kAPIBaseURL + "editUserWalletPwd" //修改交易密码接口
    static let kAPISetTradePwd = kAPIBaseURL + "setTradePassword" //设置交易密码接口
    
    static let kAPIGetPromptList = kAPIBaseURL + "getContextList" //助记词列表
    static let kAPICreatPrompt = kAPIBaseURL + "getUserContext" //生成助记词
    static let kAPICheckPrompt = kAPIBaseURL + "updateUserContext" //校验助记词
    
    static let kAPIGetIntruduction = kAPIBaseURL + "getAboutUsInfo"

    static let kAPIGetLastNotice = kAPIBaseURL + "/notice/getNoticeOne.do"   //获取最新公告
    static let kAPIGetNoticeList = kAPIBaseURL + "/notice/getNoticeByType.do"   //获取全部公告列表
    static let kAPIGetOnePageNoticeList = kAPIBaseURL + "/notice/getNoticeByTypeShouYe.do"   //获取首页公告列表（只包含最近五条）
    static let kAPIGetSpecifyNotice = kAPIBaseURL + "/notice/getNoticeById.do"   //获取指定公告接口
    static let kAPIGetBannerImage = kAPIBaseURL + "/other/getHomeImg.do"   //获取轮播图片

    
    static let kAPIGetTotalFinance = kAPIBaseURL + "getUserBalance"
    static let kAPIGetUserWalletBalanceList = kAPIBaseURL + "getUserWalletBalanceList"
    static let kAPIGetUserWalletList = kAPIBaseURL + "getUserWalletList"
    static let kAPIGetTradeListByInUser = kAPIBaseURL + "getTradeListByInUser"
    static let kAPIGetTradeListByOutUser = kAPIBaseURL + "getTradeListByOutUser"
    static let kAPIAddAdvise = kAPIBaseURL + "addAdvise"
    static let kAPIEditUserWalletName = kAPIBaseURL + "editUserWallet"
    static let kAPIEditUserWalletRemarkt = kAPIBaseURL + "editUserWalletRemark"
    static let kAPIAddWallet = kAPIBaseURL + "addUserWallet"
    static let kAPIImportWallet = kAPIBaseURL + "importUserWallet"
    static let kAPIExportWallet = kAPIBaseURL + "exportUserWallet"
    static let kAPIGetWalletBalanceList = kAPIBaseURL + "getBalanceList"


    static let kAPIGetTradeListByInAddress = kAPIBaseURL + "getTradeListByInAddress"
    static let kAPIGetTradeListByOutAddress = kAPIBaseURL + "getTradeListByOutAddress"
    static let kAPIGetUserTradeList = kAPIBaseURL + "getUserTradeList"
    static let kAPIAddTradeInfo = kAPIBaseURL + "addTradeInfo"
    static let kAPIGetTransferFee = kAPIBaseURL + "getTradeData"
    static let kAPIGetVersion = kAPIBaseURL + "getVersionInfo"
    static let kAPIRelogin = kAPIBaseURL + "reLogin"


    static let ShareMessage = "随时随地交易数字商品，24小时替你盯盘，替你赚钱！http://47.92.122.8"
    
    static let JPushAppKey = "44f0289ffb22d6c452404e21"
    static let JpushAppSecret = "a2b549b634397eabc43eccbe"
    
    static let NotificationShouldToLogin = "shouldToLogin"
    
    static let RSAPublicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9l4WqMqZPsY8ESKTK+moY/9sCozo6ZiQoQyIHO0QX4w/GSHsLb7f0XtWbz9iX30A5pebovJjfexxQKlHvv4Pqt69Jg5SlOyeo2ye5F1R1ta8pVhZfCXHhLvk9EqmEnAr9ZtV0RQhLSYakANKwc77DC8LU8MpADDChOZHbSwTb9wIDAQAB"


}

